/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gproyect2.service;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Administrador
 */
public abstract class GenericService <T, PK extends Serializable>{
    public abstract T save();
    public abstract T get(long id);
    public abstract List <T> getAll();
    public abstract boolean remove(T object);
    public abstract boolean update(T object);
}
